{include file=member.header.html} 
<script type="text/javascript">
$(function(){
	$('#add_time_from').date();
	$('#add_time_to').date();
});
</script>
<div class="deposit margin10">
	<div class="drawlist">
		<div class="tab-ttl">
			<ul class="withdraw-tab clearfix">
				<li class="current"><a href="{url app=deposit&act=drawlist}"><span>{$lang.withdraw_record}</span></a></li>
				<li><a href="{url app=deposit&act=rechargelist}"><span>{$lang.recharge_record}</span></a></li>
			</ul>
		</div>
		<div class="title clearfix">
			<form method="get" class="clearfix">
				<input type="hidden" name="app" value="deposit" />
				<input type="hidden" name="act" value="drawlist" />
				<input class="text mt10" type="text" name="add_time_from" id="add_time_from" value="{$smarty.get.add_time_from}" />
				<span class="split pt10">-</span>
				<input class="text mt10" id="add_time_to" type="text" name="add_time_to" value="{$smarty.get.add_time_to}" />
				<select name="status" class="mt10">
					<option value="">{$lang.select_pls}</option>
					<option value="success" {if $smarty.get.status eq 'success'} selected="selected" {/if}>{$lang.success}</option>
					<option value="verifing" {if $smarty.get.status eq 'verifing'} selected="selected" {/if}>{$lang.verifing}</option>
				</select>
				<input type="submit" class="btn-alipay mt10" style="width:120px;" value="{$lang.search}" />
			</form>
			<div> 已成功提现 <strong class="f60">{$withdraws.total_amount}</strong> 元 </div>
		</div>
		
		<!--{foreach from=$withdraws.list item=withdraw}-->
		<div class="table-list mb10">
			<ul>
				<li class="first clearfix"> <span class="th float-left"><em>流水号</em></span> <span class="td float-left"><em>{$withdraw.tradesn}</em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>创建时间</em></span> <span class="td float-left"><em>{$withdraw.add_time|date:Y.m.d H.i.s}</em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>名称</em></span> <span class="td float-left"><em>{$lang.withdraw}</em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>收/支</em></span> <span class="td float-left"><em class="f60">{$lang.defray}</em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>金额(元)</em></span> <span class="td float-left"><em>{$withdraw.amount}</em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>资金渠道</em></span> <span class="td float-left"><em class="two-col">{$withdraw.card_info.bank_name}<br />
					<span class="gray">{$withdraw.card_info.num}</span></em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>状态</em></span> <span class="td float-left"><em>{if $withdraw.status eq 'SUCCESS'}{$lang.success}{elseif $withdraw.status eq 'CLOSED'}<span class="gray">{$lang.closed}</span>{else}<span class="f60">{$lang.verifing}</span>{/if} 
					<!--{if $withdraw.remark}--><ins class="gray">({$withdraw.remark})</ins><!--{/if}--></em></span> </li>
				<li class="clearfix"> <span class="th float-left"><em>操作</em></span> <span class="td float-left"><em>{if $withdraw.status eq 'CLOSED'}<a onclick="dropDrawitem('{$withdraw.tradesn}');" href="javascript:;">{$lang.drop}</a>{/if}</em></span> </li>
			</ul>
		</div>
		<!--{/foreach}--> 
		{include file=page.bottom.html} 
		<!--{if !$withdraws.list}-->
		<div class="notice-word mt10">
			<p>没有任何符合条件的记录。 <a href="{url app=deposit&act=withdraw}">马上提现</a></p>
		</div>
		<!--{/if}--> 
	</div>
	<div id="datePlugin"></div>
</div>
{include file=footer.html} 